package com.ny.demo;

import java.util.Scanner;

public class Test09 {
    public static void main(String[] args) {
//        1.初始化库存数量，最低值：50，每次补货数量10
        Scanner scanner = new Scanner(System.in);
        int k = scanner.nextInt();
        int min = 50;
        int add = 10;
//        2.小于就需要补货
            do{
                if (k>min){

                    break;
                }
                System.out.println("请补货");
                k = k+add;
                System.out.println("目前胡库存为："+k);
            }while(k<min);
        System.out.println("库存已经足够了，无需补货");
// do while


    }
}
